using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class CmsCategoryEntity:AF_ORM.CORE.BaseEntity
    {
         public CmsCategoryEntity()
         {
             tableName = "CmsCategory";


			 fieldInfos.Add(new FieldInfo("CmsCategory","CatType","CatType","string",5,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsCategory","Id","Id","Guid",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsCategory","IntId","IntId","int",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsCategory","ParentId","ParentId","Guid",0,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_CatType;
		 protected Guid m_Id;
		 protected int m_IntId;
		 protected Guid m_ParentId;

		 public string CatType

          { 
                get { 
                    return m_CatType;}

                set{m_CatType=value;

                    GetField("CatType").Set();
                    GetField("CatType").IsNull=(value == null);           
                    }
          }
		 public Guid Id

          { 
                get { 
                    return m_Id;}

                set{m_Id=value;

                    GetField("Id").Set();
                    GetField("Id").IsNull=(value == null);           
                    }
          }
		 public int IntId

          { 
                get { 
                    return m_IntId;}

                set{m_IntId=value;

                    GetField("IntId").Set();
                    GetField("IntId").IsNull=(value == null);           
                    }
          }
		 public Guid ParentId

          { 
                get { 
                    return m_ParentId;}

                set{m_ParentId=value;

                    GetField("ParentId").Set();
                    GetField("ParentId").IsNull=(value == null);           
                    }
          }

}
}
